package com.alisls.shequtao.service.user.entity;

import com.alisls.shequtao.common.model.entity.BaseDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户DO
 *
 * @author Ke Wang
 */
@TableName(value = "sys_user")
@Getter
@Setter
@NoArgsConstructor
@ToString
public class UserDO extends BaseDO {

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

	/**
	 * 用户编码
	 */
	private String code;

	/**
	 * 用户名
	 */
	private String username;

	private String mobile;

	private String email;

	/**
	 * 用户昵称
	 */
	private String nickname;

	private String password;

	private Integer age;
	
}
